home *** CD-ROM | disk | FTP | other *** search
/ Aminet 23 / Aminet 23 (1998)(GTI - Schatztruhe)[!][Feb 1998].iso / Aminet / misc / emu / amiSPIMsrc.lha / blurb next >
Text File  |  1994-01-17  |  2KB  |  59 lines

  1. The SPIM S20 is a software simulator that runs assembly language
  2. programs for the MIPS R2000/R3000 RISC computers.  SPIM can read and
  3. immediately run files containing assembly language statements.  It can
  4. also read and run MIPS a.out files (when compiled on a MIPS system).
  5. SPIM is a self-contained system for running these programs and
  6. contains a debugger and interface to the operating system.
  7.  
  8. I wrote SPIM as the target machine for an undergraduate compiler
  9. course. SPIM is very portable (I have run it on a DECStation
  10. 3100/5100, Sun 3, Sun 4, PC/RT, HP Bobcat, and Sequent***), so the
  11. students could generate code for a simple, clean, orthogonal computer;
  12. no matter which god-awful machine they used.  It was a very successful
  13. in this role.
  14.  
  15. SPIM is fairly slow.  It runs about 1000 dhrystones/second, which is
  16. roughly 1/25th the speed of a DECStation 3100, or about the speed of a
  17. 68010-based system.
  18.  
  19. SPIM implements almost the entire MIPS assembler-extended instruction
  20. set (I've omitted some the complex floating point comparisons and
  21. details of the memory system page tables).  SPIM comes with complete
  22. source code and documentation of all instructions (including several
  23. that aren't in Kane's book, but are produced by MIPS compilers).  It
  24. also include a large torture test to verify a port to a new machine.
  25.  
  26. SPIM has a simple, terminal-style and a flashy, X-windows interface.
  27.  
  28. SPIM also includes an optional extension by Anne Rogers and Scott
  29. Rosenberg of Princeton that performs a cycle-by-cycle MIPS simulation
  30. that exposes the hardware pipeline.
  31.  
  32. SPIM is copyrighted by me and can be freely used for non-commerical
  33. purposes.  You can copy a compressed tar file from ftp.cs.wisc.edu in
  34. the file: ~ftp/pub/spim/spim.tar.Z.  If you want to be informed of
  35. future updates, send me your electronic address.
  36.  
  37. SPIM comes with documentation, however Appendix A of Hennessy & Patterson,
  38. "Computer Organization and Design: The Hardware/Software Interface," Morgan
  39. Kaufman, 1993 is a far better introduction to the software.
  40.  
  41.  
  42. /Jim
  43.  
  44. James Larus
  45. Computer Sciences Department
  46. 1210 West Dayton Street
  47. University of Wisconsin
  48. Madison, WI 53706
  49.  
  50. larus@cs.wisc.edu
  51. (608) 262-9519
  52.  
  53.  
  54. *** SPIM also runs on a VAX, however it does not handle floating point
  55. properly because compilers for the VAX do not treat single floats
  56. properly.
  57.  
  58. $Header: /home/primost/larus/Software/SPIM/RCS/BLURB,v 1.3 1993/08/30 15:34:13 larus Exp $
  59.